<link href="../ccs.css" rel="stylesheet" type="text/css">
<script language=javascript src="js/popup.js" type="text/javascript"></script>
<script language="javascript">
function categories() {    	
    window.open("{ucat}category.php",'_blank' ,'width=600,height=500,toolbar=no,scrollbars=yes,resizable=yes,status=yes,toolbar=no,menubar=no,location=no');
    }
function addOption(names ,value){
	var obj=document.getElementById("optCategory")
	obj.options[obj.options.length]=new Option(names, value)
    obj.options[obj.options.length-1].innerHTML=names;
          //obj.selectedIndex=result.options.length-1;
}
function dosubmit(frm){
 if(frm.txtCompany.value==""){
	alert("(*) Required Information")
    frm.txtCompany.focus()
	return false
  }
  if(frm.optBussinessType.value==""){
	alert("(*) Required Information")
    frm.optBussinessType.focus()
	return false
  }
  if(frm.txtAddress.value==""){
	alert("(*) Required Information")
    frm.txtAddress.focus()
	return false
  }
  if(frm.txtCity.value==""){
	alert("(*) Required Information")
    frm.txtCity.focus()
	return false
  }
  if(frm.txtBussinessPhone.value==""){
	alert("(*) Required Information")
    frm.txtBussinessPhone.focus()
	return false
  }
  /*
   if(frm.optCategory.value==""){
	alert("(*) Required Information")
    frm.optCategory.focus()
	return false
  }
  if(frm.optNumberEmploy.value==""){
	alert("(*) Required Information")
    frm.optNumberEmploy.focus()
	return false
  } 
    if(frm.txtInfo.value=="" || frm.txtInfo.value.length<10){
	alert("(*) Required Information")
    frm.txtInfo.focus()
	return false
  } 
  */
  frm.hdcategory.value=mergeCatIds()  
  return true
}		
function mergeCatIds(){
	var finalCat="";
	var catobj=document.getElementById("optCategory");
	if(catobj && catobj.options){
	for (var i=0;i<catobj.options.length;i++){
		var catid=catobj.options[i].value;
		finalCat=finalCat+","+catid+",";
	}	
	}
	 
	return finalCat;
	}
function DeleteCategory(){
	var s=document.getElementById("optCategory");
	if(s.length > 0){
		if(s.selectedIndex > -1){
			s.remove(s.selectedIndex);
		}
	}
}
function TextCounter(frm){
	frm.txtCount.value=frm.txtInfo.value.length
}
function getState(){
	var staobj=document.getElementById("countrySelect");
	var ctyobj=document.getElementById("txtCity");
	var zipobj=document.getElementById("txtZipCode");
	
	if(staobj.value==""){
		return;
	}
	
	ctyobj.value = staobj.options[staobj.selectedIndex].text
	zipobj.value = staobj.value
	
	Pop_HideWindow()
}
function CountryDisplay(frm){
	if(frm.optContry.value==59){
		Pop_ShowWindow()
	}
}
</script>
<style type="text/css">
<!--
	.style8 {font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000;}
	.style10 {font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #FF0000}
-->
</style>
<TITLE>yellowpages.vn - Vietnam Business Yellow Pages Directory - Trang Vang Vietnam</TITLE>
<link href="file:///D|/web/vietbig/images/style.css" rel="stylesheet" type="text/css">
<br>
<table width="779"  border="0" align="center" cellpadding="0" cellspacing="0" class="lborder">
  <tr align="left">
    <td height="25" valign="middle" class="style11" style="padding-left:10px">&nbsp;<A class="lMenu"  href="http://localhost/myonline/index.php">Home</A> ><strong> Join Yellowpage.com.vn</strong></td>
  	<td align="right" valign="middle" class="style11"><img src="{url}/images/contact_us.gif" width="15" height="12" align="absmiddle"> <a href="#" class="lMenu">Contact Us</a> &nbsp;</td>
  </tr>
  
  <tr>
    <td height="4" colspan="2" class="bg"></td>
  </tr>
</table>
<form name="frmMain" action="{s_action}" method="post" onSubmit="return dosubmit(frmMain)">
<input type="hidden" value="" name="hdcategory">
<input type="hidden" value="{cusID}" name="hdID">
<table width="779"  border="0" align="center" cellpadding="0" cellspacing="0" class="lborder">
  <!--DWLayoutTable-->
  <tr>
    <td height="38" colspan="3" class="style10" style="padding-left:10px ">	  <strong>Your information has been submited.</strong><br>
      Member ID :{memID} <br>
      Your member ID and password have been sent to your email address. Please memorize and keep this information confidential. <br>
&nbsp;</td>
    </tr>
  <tr bgcolor="#D2E0C7">
    <td colspan="3"><table width="779" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="25" colspan="2" class="style11" style="padding-left:10px "><strong>The following information helps orther members contact you</strong></td>
    	<td align="right" class="style11" style="padding-right:10px "><span  style="color:#FF0000 ">*</span> Required Information</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td width="145" height="20" class="row1"></td>
    <td width="243"></td>
    <td class="row1"></td>
  </tr>
  <tr>
    <td height="19" class="style8" style="padding-left:10px ">Company Name <span style="color:#FF0000">*</span></td>
    <td><input name="txtCompany" type="text" id="txtCompany" size="40" maxlength="225"></td>
    <td width="391" class="style8">&nbsp;&nbsp;The full name of your registered company</td>
  </tr>
   <tr>
     <td height="20" class="style8" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
     <td><!--DWLayoutEmptyCell-->&nbsp;</td>
     <td class="row1">&nbsp;</td>
   </tr>
   <tr>
    <td height="19" class="style8" style="padding-left:10px ">Street Address <span style="color:#FF0000">*</span> </td>
    <td><input name="txtAddress" type="text" id="txtAddress" size="40" maxlength="225"></td>
    <td class="row1">&nbsp;</td>
  </tr>
   <tr>
     <td height="20" class="style8" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
     <td colspan="2" class="row1"><!--DWLayoutEmptyCell-->&nbsp;</td>
   </tr>
   <tr>
    <td height="25" class="style8" style="padding-left:10px ">Business Phone <span style="color:#FF0000">*</span> </td>
    <td colspan="2" class="row1"><table width="500" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="80"><input name="txtContrycode" type="text" id="txtContrycode" value=" " size="5" maxlength="8"> </td>
        <td width="70"><input name="txtAreacode" type="text" id="txtAreacode" value=" " size="5" maxlength="8"></td>
		<td width="350" class="style8"><input name="txtBussinessPhone" type="text" id="txtBussinessPhone" size="15">  
		&nbsp; (e.g.,84-08-8486820)</td>
      </tr>
      <tr>
        <td class="style8">Country code </td>
        <td class="style8">Area code </td>
        <td class="style8">Telephone Number </td>
      </tr>
    </table> </td>
    </tr>
	 <tr>
	   <td height="20" class="style8" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
	   <td><!--DWLayoutEmptyCell-->&nbsp;</td>
	   <td class="row1">&nbsp;</td>
    </tr>
	 <tr>
    <td height="19" class="style8" style="padding-left:10px ">Mobile</td>
    <td><input name="txtMobile" type="text" id="txtMobile"></td>
    <td class="row1">&nbsp;</td>
  </tr>
     <tr>
       <td height="20" valign="top" class="style8" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
       <td colspan="2"><!--DWLayoutEmptyCell-->&nbsp;</td>
     </tr>
    <tr>
    <td height="25" valign="top" class="style8" style="padding-left:10px ">Fax Number</td>
    <td colspan="2"><table width="500" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="80"><input name="txtContrycodefax" type="text" id="txtContrycodefax" size="5" maxlength="8"></td>
        <td width="70"> <input name="txtAreacodefax" type="text" id="txtAreacodefax" size="5" maxlength="8"></td>
        <td width="350" class="style8"><input name="txtBussinessPhonefax" type="text" id="txtBussinessPhonefax" size="15"> &nbsp; (e.g.,84-08-8486820)</td>
      </tr>
      <tr>
        <td class="style8">Country code</td>
        <td class="style8">Area code </td>
        <td class="style8">Fax number </td>
      </tr>
    </table></td>
    </tr>
    <tr>
      <td height="20" class="style8" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td height="22"><!--DWLayoutEmptyCell-->&nbsp;</td>
      <td class="row1">&nbsp;</td>
    </tr>
    <tr>
    <td height="22" class="style8" style="padding-left:10px ">Business Email </td>
	<td height="22"><input name="txtBusinessEmail" type="text" id="txtBusinessEmail" size="40"></td>
    
    <td class="row1">&nbsp;</td>
  </tr>
  <tr>
    <td height="20" class="style8" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td class="row1">&nbsp;</td>
  </tr>
  <tr>
    <td class="style8" style="padding-left:10px ">Website</td>
    <td><input name="txtWebSite" type="text" id="txtWebSite" size="40"></td>
    <td class="row1">&nbsp;</td>
  </tr>
  <tr>
    <td height="20" class="style8" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td colspan="2"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>
  <tr>
    <td height="25" class="style8" style="padding-left:10px ">Business Type <span style="color:#FF0000">*</span> </td>
    <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="193"><select name="optBussinessType" id="optBussinessType">
	 <option value="" selected>*Please Select*</option>
	<!-- BEGIN busType -->
	<option value="{busType.bvalue}">{busType.bcaption}</option>
	<!-- END busType -->
    </select></td>
    <td width="194" class="style8">&nbsp;&nbsp;Select your business type</td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td height="20" class="row1" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td class="row1"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td class="style8"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>
  <tr>
    <td height="19" class="style8" style="padding-left:10px ">City <span style="color:#FF0000">*</span> </td>
    <td class="row1"><input name="txtCity" type="text" id="txtCity" size="40" maxlength="20"></td>
    <td class="style8"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="52" class="style8">&nbsp;&nbsp;Country</td>
        <td width="235">
		<select name="optContry" id="optContry" onChange="CountryDisplay(frmMain)">
			<option value="" selected>*Please Select*</option>
			<!-- BEGIN country -->
			<option value="{country.bvalue}">{country.bcaption}</option>
			<!-- END country -->
		</select></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="20" class="style8" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td class="row1"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>
  <tr>
    <td height="22" class="style8" style="padding-left:10px ">Zip/Post Code</td>
    <td><input name="txtZipCode" type="text" id="txtZipCode"></td>
    <td class="row1">
	  <DIV id="country_window" style="Z-INDEX:10000; LEFT:100px; VISIBILITY:hidden; OVERFLOW:visible; WIDTH:0px; POSITION:absolute; TOP:100px; HEIGHT:0px">
	<table border=0 cellspacing=0 cellpadding=0 bgcolor=#FFFFFF style="BORDER-RIGHT: #696969 1px solid; BORDER-TOP: #696969 1px solid; BORDER-LEFT: #696969 1px solid; BORDER-BOTTOM: #696969 1px solid">
		<tr><td>
			<table id="Contents1__ctl0_Picture_TitleBar" width="100%" border="0" cellspacing="0" cellpadding="3" bgcolor="#314E8C">
				<tr>
					<TD id="Contents1__ctl0_TitlePicture" onmousedown="Pop_mDown();return false;" onmousemove="Pop_mMove();return false;" onmouseup="Pop_mUp()" onmouseout="Pop_mUp()" style="FONT-WEIGHT: bold; FONT-SIZE: 11px; CURSOR: pointer; COLOR: #ffffff; FONT-FAMILY: tahoma, verdana, arial, sansserif" nowrap="nowrap" width="100%">Please choose one</TD>
				<TD align="right"><IMG src="images/crossbutton.gif" width="16" height="14" align="absMiddle" border="0"
								onclick="Pop_HideWindow(); return false;" title="Close window"></TD>
			</tr>
		</table>

			</TD>
		</TR>
		<TR>
			<TD align="center">
				<TABLE border="0" cellspacing="0" cellpadding="0" ID="Table4">
					<TR>
						<TD bgcolor="#ffffff" align="center">
						<select name="countrySelect" size="8" id="countrySelect" style="width:200px; height:200px;">    
						      <!-- BEGIN countryselect -->
								<option value="{countryselect.bvalue}">{countryselect.bcaption}</option>
								<!-- END countryselect -->
						  </select><br>
						  <input name="Select" type="button" value="Select" onClick="getState()">						</TD>
					</TR>
				</TABLE>			</TD>
		</TR>
	</TABLE>
</DIV></td>
  </tr>
  <tr>
    <td height="20" class="style8" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td class="row1">&nbsp;</td>
  </tr>
  <tr>
    <td height="19" class="style8" style="padding-left:10px ">Province/State</td>
    <td><input name="txtState" type="text" id="txtState"></td>
    <td class="row1">&nbsp;</td>
  </tr>
 
  <tr>
    <td height="20" class="style8" valign="top" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td colspan="2"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>
  <tr>
    <td height="19" class="style8" valign="top" style="padding-left:10px ">Name Contact  <span style="color:#FF0000">*</span></td>
    <td colspan="2"><table width="326" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="63" class="style8"><input name="optSex" type="radio" value="Male" {mr}>Mr</td>
        <td width="263" class="style8"><input name="optSex" type="radio" value="FeMale" {ms}>Ms</td>
      </tr>
      <tr>
        <td class="style8">First Name </td>
        <td><input name="txtFirstName" type="text" id="txtFirstName" value="{fristname}" maxlength="100"></td>
      </tr>
      <tr>
        <td class="style8">Last Name </td>
        <td><input name="txtLastName" type="text" id="txtLastName5" value="{lastname}" maxlength="100"><div id="id_name" class="text-default">
      </div></td>
      </tr>
    </table></td>
    </tr>
  <tr>
    <td height="20" class="style8" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td class="row1"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td height="25" class="row1"></td>
  </tr>
  <tr>
    <td height="25" class="style8" style="padding-left:10px ">Job Title </td>
    <td class="row1"><select name="optJobTitle" id="optJobTitle">
      <option value="" selected>*Please Select*</option>
      <!-- BEGIN jobType -->
      <option value="{jobType.bvalue}">{jobType.bcaption}</option>
      <!-- END jobType -->
    </select></td>
	<td height="25" class="row1"></td>
  </tr>
   
 
  <tr>
    <td height="20" class="style8" style="padding-left:10px " valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td colspan="2"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>
  <tr>
    <td height="19" class="style8" style="padding-left:10px " valign="top">Category <span style="color:#FF0000">*</span> </td>
    <td colspan="2"><table width="443" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="364"><select name="optCategory" size="4" id="optCategory" style="width:350px">
    </select></td>
        <td width="79"><input type="button" name="Submit2" value="Add" onClick="categories()"><br>
						<input type="button" name="Submit3" value="Remove" onClick="DeleteCategory()"> </td>
      </tr>
    </table></td>
    </tr>
 
 
  <tr>
    <td height="20" class="style8" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td class="row1">&nbsp;</td>
  </tr>
  <tr>
    <td height="26" class="style8" style="padding-left:10px ">Number of Employees <span style="color:#FF0000">*</span></td>
    <td><select name="optNumberEmploy">
	<option value="" selected>*Please Select*</option>
		 
	<!-- BEGIN numEmploy -->
	<option value="{numEmploy.bvalue}">{numEmploy.bcaption}</option>
	<!-- END numEmploy -->

</select></td>
    <td class="row1">&nbsp;</td>
  </tr>
 
  <tr>
    <td height="20" class="style8" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td class="row1">&nbsp;</td>
  </tr>
  <tr>
    <td height="19" class="style8" style="padding-left:10px ">Legal Representative/CEO </td>
    <td><input name="txtCEO" type="text" id="txtCEO"></td>
    <td class="row1">&nbsp;</td>
  </tr>
  
  <tr>
    <td height="20" class="style8" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td colspan="2"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>
  <tr>
    <td height="19" class="style8" style="padding-left:10px ">Year Established </td>
    <td colspan="2"><table width="273" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="133"><input name="txtYearEstab" type="text" id="txtYearEstab" maxlength="50"></td>
    	<td width="140" class="row1">(e.g.,1999)</td>
      </tr>
    </table></td>
  </tr>
   <tr>
     <td height="20" class="style8" style="padding-left:10px "><!--DWLayoutEmptyCell-->&nbsp;</td>
     <td><!--DWLayoutEmptyCell-->&nbsp;</td>
     <td class="row1">&nbsp;</td>
   </tr>
   <tr>
    <td height="19" class="style8" style="padding-left:10px ">Certifications</td>
    <td><input name="txtCertifi" type="text" id="txtCertifi" maxlength="225"></td>
    <td class="row1">&nbsp;  </td>
  </tr>
  
   <tr>
     <td height="20" class="style8" style="padding-left:10px " valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
     <td colspan="2"><!--DWLayoutEmptyCell-->&nbsp;</td>
   </tr>
   <tr>
    <td height="19" class="style8" style="padding-left:10px " valign="top">Company Introduction <span style="color:#FF0000">*</span> </td>
    <td colspan="2"><table width="500" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><textarea name="txtInfo" cols="62" rows="6" id="txtInfo" onKeyDown="TextCounter(frmMain)" onKeyPress="TextCounter(frmMain)" onKeyUp="TextCounter(frmMain)"></textarea></td>
      </tr>
      <tr>
        <td valign="top" class="style8">Please provide detailed, true, accurate and current information action about your company's products, services,history, achievements, etc. HTML is not supported.
         <br>
      <span class="quote">At least 10 charaters.</span>
      <input name="txtCount" type="text" id="txtCount" size="10" maxlength="20"></td>
      </tr>
    </table></td>
    </tr>
	 <tr>
    <td colspan="3" align="center" valign="middle"><hr size="1"  style="border-style:dotted; border-color:#CCCCCC"></td>
    </tr>
   <tr>
    <td height="24" colspan="3" align="center"><input name="Submit" type="submit" class="input" value="Submit"></td>
    </tr>
	 <tr>
    <td colspan="3" align="center" valign="middle"><hr size="1"  style="border-style:dotted; border-color:#CCCCCC"></td>
    </tr>
</table>
</form>

